package com.byxy.shop.service;

import java.util.List;

import com.byxy.ssm.shop.vo.GoodsDetailVO;
import com.byxy.ssm.shop.vo.SearchPageCategoryVO;

public interface GoodsSearchService {
	
	/** 根据Id查询所有商品 
	 * @param goodsCategoryId keyword 
	 * @param rows 
	 * @param orderBy 
	 * @param page */
	List<GoodsDetailVO> findByCategoryIdAndKeyword(Integer goodsCategoryId, String keyword, Integer currPage, Integer rows, String orderBy);
	
	/** 查询总数 */
	int getTotalByCategoryIdAndKeyword(Integer goodsCategoryId, String keyword);
	
	/**
	 * @param goodsCategoryId   */
	SearchPageCategoryVO getSearchPageCategoryVO(Integer goodsCategoryId);

}
